package com.pcsky.view;

import java.awt.BorderLayout;
import java.awt.Frame;

import javax.swing.JDialog;
import javax.swing.JTextArea;

public class MessageShowView extends JDialog {

	JTextArea msgTextArea;

	/**
	 * Create the dialog.
	 */
	public MessageShowView(  Frame owner) {
		super(owner);
		setBounds(100, 100, 450, 300);
		getContentPane().setLayout(new BorderLayout(0, 0));
		
		msgTextArea = new JTextArea();
		getContentPane().add(msgTextArea);

	}
	public void setMsg(String msg) {
		msgTextArea.setText(msg);
	}
}
